<%@page import="controleur.ConstantesWeb"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <title>Acceuil</title>
        <link rel="stylesheet" type="text/css" href="<%=ConstantesWeb.CSS_ENTETE%>"/>
    </head>
    <body>  
        <jsp:include page="<%=ConstantesWeb.PAGE_ENTETE%>"/>
        <h1 align="center">Bienvenue à la bibliothèque de James!</h1>

        <table>
            <FORM METHOD="POST" ACTION="./Entree">
                <input type="hidden" name="cmd" value="<%=ConstantesWeb.CMD_OUVRIR_SESSION%>"/>
                <tr>
                    <td align="left">Username :</td>
                    <td aligne="right"><input type="text" name="username"></td>            
                </tr>
                <tr>
                    <td align="left">Password :</td>
                    <td aligne="right"><input type="password" name="password"></td>            
                </tr>
                <tr>
                    <td align="right" colspan="2"><button style="width: 150px">Se connecter</button></td> 
                </tr>
            </FORM>
            <tr>
                <td align="right" colspan="2">
                    <FORM METHOD="POST" ACTION="./Entree">
                        <input type="hidden" name="cmd" value="<%=ConstantesWeb.CMD_NOUVEAU_COMPTE%>"/> 
                        <button style="width: 150px">Nouveau compte</button>
                    </FORM>
                </td>
            </tr>

        </table>

    </body>
</html>
